//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.shenhua.test.rest;

public enum ResponseEnum {
    SUCCESSS("0000", "成功"),
    INVOKE_SERVICE_ERROR("0001", "服务调用异常"),
    NOT_LOGIN("0002", "用户未登录"),
    BUSINESS_ERROR("0003", "业务错误"),
    PERMISSION_DENIED("0004", "无权访问"),
    PERMISSION_DENIED_NOTIN_WHITE("00042", "无权访问:白名单未配置"),
    PERMISSION_DENIED_IN_BLACK("00043", "无权访问:黑名单已配置"),
    PARAM_ERROR("0005", "参数有误"),
    LOGIN_EXPIRED("0006", "登录过期"),
    USERNAME_NON_EXISTENT("0007", "用户名不存在"),
    USERNAME_ALREADY_EXISTED("0008", "用户名已存在"),
    ALI_OSS_FILE_NOT_EXIST("0009", "阿里云文件不存在"),
    ALI_OSS_FILE_EXIST("0010", "阿里云文件已存在"),
    VERIFY_SIGNATURE_FAIL("0011", "签名验证失败"),
    FALLBACK("0012", "FALLBACK"),
    UNKNOWN("9999", "未知错误");

    private String code;
    private String desc;

    private ResponseEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return this.code;
    }

    public String getDesc() {
        return this.desc;
    }
}
